package com.desiy.service;

import com.desiy.entity.User;

import java.util.Collection;

/**
 * @author Desiy
 * @date 2020/9/18 14:17
 */
public interface UserService {
    Collection<User> queryList();
    User queryById(int id);
    void insert(User user);
    void update(User user);
    void delete(int id);
}
